import { Component, OnInit } from '@angular/core';

@Component({
  selector: 'app-productlist',
  templateUrl: './productlist.component.html',
  styleUrls: ['./productlist.component.css']
})
export class ProductlistComponent implements OnInit {
    public productname:string ='牛奶';
    public price:number=15.8;
    public protime:string= "2020-9-12";
    
    constructor() { }
    ngOnInit(): void {
    }
  }
